<?php
namespace Tools\Controller;
use Think\Controller;
class IndexController extends Controller {
    public function index(){
    	$user_info = session('user');
    	echo "<pre>";
    	var_dump($user_info);
    }

    public function discover() {
    	echo "登录成功";
    }
}